package com.waq.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

public class Customer {
    @Id
    @Column(name = "customer_id")
    private Integer customerId;

    @Column(name = "customer_name")
    private String customerName;

    private String customerPinyin;

    private Integer gender;

    private Integer age;

    private String telephone;

    private Date birthday;

    @Column(name = "first_visit_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date firstVisitTime;

    @Column(name = "medical_record")
    private Integer medicalRecord;

    private String city;

    private String address;

    private String comment;

    private String consultant;

    @Column(name = "development_channel")
    private Integer developmentChannel;

    private String marketer;

    @Column(name = "beauty_parlour")
    private String beautyParlour;

    @Column(name = "customer_intention_1")
    private String customerIntention1;

    @Column(name = "customer_intention_2")
    private String customerIntention2;

    @Column(name = "customer_intention_3")
    private String customerIntention3;

    @Column(name = "reasons_for_non_trans")
    private String reasonsForNonTrans;

    //0 前台登记过，未咨询
    //1 前台登记过，已经咨询完毕
    //2 前台未登记，直接咨询
    private Integer hasConsulted;
    /**
     * @return customer_id
     */
    public Integer getCustomerId() {
        return customerId;
    }

    /**
     * @param customerId
     */
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    /**
     * @return customer_name
     */
    public String getCustomerName() {
        return customerName;
    }

    /**
     * @param customerName
     */
    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerPinyin() {
        return customerPinyin;
    }

    public void setCustomerPinyin(String customerPinyin) {
        this.customerPinyin = customerPinyin;
    }

    /**
     * @return gender
     */
    public Integer getGender() {
        return gender;
    }

    /**
     * @param gender
     */
    public void setGender(Integer gender) {
        this.gender = gender;
    }

    /**
     * @return age
     */
    public Integer getAge() {
        return age;
    }

    /**
     * @param age
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * @return telephone
     */
    public String getTelephone() {
        return telephone;
    }

    /**
     * @param telephone
     */
    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    /**
     * @return birthday
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * @param birthday
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * @return first_visit_time
     */
    public Date getFirstVisitTime() {
        return firstVisitTime;
    }

    /**
     * @param firstVisitTime
     */
    public void setFirstVisitTime(Date firstVisitTime) {
        this.firstVisitTime = firstVisitTime;
    }

    /**
     * @return medical_record
     */
    public Integer getMedicalRecord() {
        return medicalRecord;
    }

    /**
     * @param medicalRecord
     */
    public void setMedicalRecord(Integer medicalRecord) {
        this.medicalRecord = medicalRecord;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    /**
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return comment
     */
    public String getComment() {
        return comment;
    }

    /**
     * @param comment
     */
    public void setComment(String comment) {
        this.comment = comment;
    }

    /**
     * @return consultant
     */
    public String getConsultant() {
        return consultant;
    }

    /**
     * @param consultant
     */
    public void setConsultant(String consultant) {
        this.consultant = consultant;
    }

    /**
     * @return development_channel
     */
    public Integer getDevelopmentChannel() {
        return developmentChannel;
    }

    /**
     * @param developmentChannel
     */
    public void setDevelopmentChannel(Integer developmentChannel) {
        this.developmentChannel = developmentChannel;
    }

    /**
     * @return beauty_parlour
     */
    public String getBeautyParlour() {
        return beautyParlour;
    }


    public String getMarketer() {
        return marketer;
    }

    /**
     * @param marketer
     */
    public void setMarketer(String marketer) {
        this.marketer = marketer;
    }

    /**
     * @param beautyParlour
     */
    public void setBeautyParlour(String beautyParlour) {
        this.beautyParlour = beautyParlour;
    }

    /**
     * @return customer_intention_1
     */
    public String getCustomerIntention1() {
        return customerIntention1;
    }

    /**
     * @param customerIntention1
     */
    public void setCustomerIntention1(String customerIntention1) {
        this.customerIntention1 = customerIntention1;
    }

    /**
     * @return customer_intention_2
     */
    public String getCustomerIntention2() {
        return customerIntention2;
    }

    /**
     * @param customerIntention2
     */
    public void setCustomerIntention2(String customerIntention2) {
        this.customerIntention2 = customerIntention2;
    }

    /**
     * @return customer_intention_3
     */
    public String getCustomerIntention3() {
        return customerIntention3;
    }

    /**
     * @param customerIntention3
     */
    public void setCustomerIntention3(String customerIntention3) {
        this.customerIntention3 = customerIntention3;
    }

    /**
     * @return reasons_for_non_trans
     */
    public String getReasonsForNonTrans() {
        return reasonsForNonTrans;
    }

    /**
     * @param reasonsForNonTrans
     */
    public void setReasonsForNonTrans(String reasonsForNonTrans) {
        this.reasonsForNonTrans = reasonsForNonTrans;
    }

    public Integer getHasConsulted() {
        return hasConsulted;
    }

    public void setHasConsulted(Integer hasConsulted) {
        this.hasConsulted = hasConsulted;
    }
}